package com.huabo.fxgl.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author LiYe
 * @since 2022-08-01
 */
@Data
@ToString
@TableName("TBL_RISK_RISKMARKING")
public class RiskRiskmarking implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 评估人
     */
    @TableField(exist = false)
    private Staff staff;


    /**
     * ID
     */
    @TableId
    private BigDecimal markingid;

    /**
     * 发生频率
     */
    private BigDecimal frequency;

    /**
     * 严重程度
     */
    private BigDecimal severity;

    /**
     * 风险等级
     */
    private String risklevel;

    /**
     * 权重
     */
    private BigDecimal assweight;

    /**
     * 评估时间
     */
    private LocalDateTime assdate;

    /**
     * 计划和风险中间表ID
     */
    private BigDecimal assriskid;

    /**
     * 评估内容
     */
    private String asscontent;

    /**
     * 状态
     */
    private BigDecimal asssatus;

    /**
     * 备注
     */
    private String memo;

}
